home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 1.4 KB | 69 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _CANVAS_
- #define _CANVAS_
-
- #ifndef _CANVASB_
- #include "CanvasB.idl" // base class
- #endif
-
- #ifdef _PLATFORM_MACINTOSH_
-
- //==============================================================================
- // Mac OS types used in this interface
- //==============================================================================
-
- /*
- #pragma somemittypes off
- */
-
- typedef unsigned long GrafPtr; //# C definition is in <QuickDraw.h>
-
- /*
- #pragma somemittypes on
- */
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODCanvas;
-
- //==============================================================================
- // ODCanvas
- //==============================================================================
-
- interface ODCanvas : ODBaseCanvas
- {
- GrafPtr GetQDPort( );
-
- ODPlatformCanvas GetGXViewport( ); //# Really a gxViewport; see <GXTypes.h>
-
-
- #ifdef __SOMIDL__
- implementation
- {
- majorversion = 1; minorversion = 0;
-
- releaseorder:
- GetQDPort,
- GetGXViewport,
- reserved1;
-
- override:
- HasPlatformCanvas,
- GetPlatformCanvas,
- SetPlatformCanvas,
- Invalidate,
- Validate;
-
- functionprefix = ODCanvas__;
-
- };
- #endif
- };
-
- #endif /*_PLATFORM_MACINTOSH_*/
-
- #endif //# _CANVAS_
-